var editInitState = {
    editContain : '',
    isContain: false,
    isSave: false
}

export default function (state = editInitState, action) {
    switch(action.type){

        case 'GET_DEIT':
            return {...state, editContain:action.editContain};

        case 'CHECK_CONTAIN':
            return {...state, isContain:action.isContain};  

        case 'CHECK_SAVE':
            return {...state, isSave: action.isSave}      

        default:
            return state;
    }
}